<%@include file = "/common/header.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<title>修改公告</title>
 <link href="css/form.css" rel="stylesheet">
     <div class="container theme-showcase" role="main">
 <div class="jumbotron" role="main">
  <form role="form" class="form-announce" action="AnnounceServlet?act=update" method="post">

<div class="form-group">
          <!-- Text input-->
          <h2>请认真修改</h2>
          <label for="inputID" class="control-label">账号:</label>
        <input name="name" type="text" id="id" class="form-control" placeholder="名字" value="${student.name}" disabled="disabled">
        <input name="annID" value="${announce.annID}" type="hidden"/>
        </div>
        <div class="form-group">
          <label class="control-label">标题</label>
          <div class="controls">
            <input name="title" id="title" value="${announce.title }"  >
          </div>
          <label class="control-label">内容</label>
          <div class="controls">
            <div class="textarea">
                  <textarea name="content"  rows="20" cols="20" >${announce.content}</textarea>
            </div>
        </div>
        </div>
    <div class="form-group">
          <label class="control-label">-----</label>
          <!-- Button -->
          <div class="controls">
            <button class="btn btn-success">保存</button>
          </div>
        </div>
        <h3><span class="label label-danger">${message}</span></h3>
  </form>
  </div>
  </div>
  
<%@include file = "/common/footer.jsp" %>
